//
//  UIViewController+NoBackTitle.m
//  DaJiang
//
//  Created by sally on 16/11/14.
//  Copyright © 2016年 jiniu. All rights reserved.
//

#import "UIViewController+NoBackTitle.h"

@implementation UIViewController (NoBackTitle)

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-protocol-method-implementation"
- (void)viewDidLoad {
  //通过category实现页面返回无文案。无痕嵌入
  self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@""
                                                                           style:UIBarButtonItemStylePlain
                                                                          target:nil
                                                                          action:nil];
}
#pragma clang diagnostic pop

@end
